//
//  ArticleView.h
//  Final
//
//  Created by student14 on 2021/12/14.
//  Copyright © 2021 Lenrony. All rights reserved.
//

#ifndef ArticleView_h
#define ArticleView_h

#import <UIKit/UIKit.h>
#import "ArticleCell.h"
#import "../../ModelController.h"

// 首页/搜索页的collection view
@interface ArticleView : UIView

@property(strong, nonatomic) UICollectionView *articlesView;//按列显示View

- (ArticleView *) initWithViewController: (UIViewController *)svc
                             andRawUsers: (NSMutableArray *)rawUsers
                             andArticles: (NSMutableArray *)articles;

- (void) updateCollectionViewWithArticles:(NSMutableArray *)articles
                              andRawUsers:(NSMutableArray *)rawUsers;

@end

#endif /* ArticleView_h */
